;(function(){
  'use strict';
  angular.module('controllers.faultLocation.tradeLog')
  .controller('TradeLogManageCtrl', tradeLogManageCtrl);
  /**
   * 统一支付交易日志查询控制器
   * @param  $scope         
   * @param  $filter        
   * @param  TradeLogServer 
   * @param  CoreService    [description]
   */
  function tradeLogManageCtrl($scope,TradeLogManageServer,TradeLogManageSelector,TradeLogManageQueryParam,TradeLogManageViewObj){
    $scope.selector = TradeLogManageSelector.selector;
    $scope.tradeLogManage = TradeLogManageQueryParam.initParam();
    $scope.flag = TradeLogManageQueryParam.initFlag();
    $scope.getTradeLog = TradeLogManageQueryParam.tradeLogIndexQueryFn;
    $scope.viewObj = TradeLogManageViewObj.initViewObj();
    $scope.setIndexObj = TradeLogManageQueryParam.setIndexObjFn;
    $scope.addIndexObj = TradeLogManageQueryParam.addIndexObjFn;
    $scope.deleteIndexObj = TradeLogManageQueryParam.deleteIndexObjFn;
  }
  
  tradeLogManageCtrl.$inject = ['$scope','TradeLogManageServer','TradeLogManageSelector','TradeLogManageQueryParam','TradeLogManageViewObj'];

})();